﻿using System.Data.Entity;

namespace PortalWeb.Quartz.Dao
{
    public class QuartzDbContext : DbContext
    {
        public QuartzDbContext()
            : base("QuartzConnection")
        {
            Database.CreateIfNotExists();
        }

        public static QuartzDbContext Create()
        {
            return new QuartzDbContext();
        }

    }
}
